package com.csun.cmny.provider.service;

import com.csun.cmny.base.dto.LoginAuthDto;
import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.dto.OmcMonitorLogQueryDto;
import com.csun.cmny.provider.model.vo.OmcUserVo;
import com.csun.cmny.provider.pojo.OmcMonitorLog;
import com.csun.cmny.provider.vo.OldManMVo;
import com.csun.cmny.provider.vo.OmcMonitorLogVo;

import java.util.List;

/**
 * @author chenzheng
 * @description:
 * @date 2019/7/18 16:50
 */
public interface OmcMonitorLogService extends IService<OmcMonitorLog> {

    //保存或者跟新班长日志
    int saveMonitorLog(OmcMonitorLog omcMonitorLog, LoginAuthDto loginAuthDto);

    //分页查询班长日志
    List<OmcMonitorLogVo> queryMonitorLogList(OmcMonitorLogQueryDto omcMonitorLogQueryDto);


    //班长日志模糊查询老人
    List<OldManMVo> selectOldmanBynameM(OmcMonitorLogQueryDto omcMonitorLogQueryDto);

    //根据姓名模糊查询负责人
    List<OmcUserVo> selectUserByName(OmcMonitorLogQueryDto omcMonitorLogQueryDto);
}
